﻿Imports BL.BL
Imports BE.BE

Public Class frmCrearNotaExpediente


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim mNota As New Nota_BE

        mNota.Descripcion = Me.TextBox1.Text
        mNota.Texto = Me.TextBox2.Text

        Try
            Nota_BL.guardar(mNota, frmSeguimientoExpediente.Expediente.IdExpediente)
        Catch ex As Exception
            MsgBox(ex)
        End Try

        Me.Close()

    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Me.Close()
    End Sub


    Private Sub frmCrearNotaExpediente_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        'Helper_FL.setearPermisos(frmPrincipal.usr, Me)
    End Sub
End Class